home *** CD-ROM | disk | FTP | other *** search
- Path: ccshst05.cs.uoguelph.ca!ccshst01!thay
- From: thay@uoguelph.ca (Toby K Hay)
- Newsgroups: comp.lang.c
- Subject: Re: Random Sample Generators Wanted?
- Date: 4 Apr 1996 18:32:37 GMT
- Organization: University of Guelph
- Message-ID: <4k14k5$lua@ccshst05.cs.uoguelph.ca>
- References: <4k0a08$a4t@infa.central.susx.ac.uk>
- NNTP-Posting-Host: ccshst01.cs.uoguelph.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- George Rattray (tepd6@central.susx.ac.uk) wrote:
- : I am looking for algorithms to generate random samples that conform
- : to a specific probability density function.
-
- : The algorithms needed are Gaussian, Rayleigh, Rician, Poisson etc for
- : both real and complex numbers. Any other generation routines are also welcome.
-
- You could start with RANLIB available via anonymous ftp (according to my
- README file) from odin.mda.uth.tmc.edu in /pub/unix/ranlib.f.tar.Z
- It has c code to generate random numbers from a variety of density
- functions. I don't remember complex numbers, but perhaps you could use
- the code as a base for your own random complex generators.
- Toby Hay thay@uoguelph.ca
-